package com.hundsun.s3.mrs.pub.dto;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * @author chenji23607
 *
 */
public class UserDto implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 系统为其websocket分配的uuid
	 */
	private String uuid;
	/**
	 * 用户的账号
	 */
	private String id;
	/**
	 * 用户的昵称
	 */
	private String name;
	private boolean isOnline;
	private Long logoutTime;
	private Long loginTime;
	private List<String> groups;
	
	public String getUuid() {
		return uuid;
	}
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isOnline() {
		return isOnline;
	}
	public void setOnline(boolean isOnline) {
		this.isOnline = isOnline;
	}
	public Long getLogoutTime() {
		return logoutTime;
	}
	public void setLogoutTime(Long logoutTime) {
		this.logoutTime = logoutTime;
	}
	public Long getLoginTime() {
		return loginTime;
	}
	public void setLoginTime(Long loginTime) {
		this.loginTime = loginTime;
	}
	public List<String> getGroups() {
		return groups;
	}
	public void setGroups(List<String> groups) {
		this.groups = groups;
	}
	
}
